/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.github.nisrulz.sensey;

public enum SensorType {
    /**
     * SENSOR_TYPE_HEART_RATE
     */
    SENSOR_TYPE_HEART_RATE(0),
    /**
     * SENSOR_TYPE_WEAR_DETECTION
     */
    SENSOR_TYPE_WEAR_DETECTION(1),

    /**
     * SENSOR_TYPE_AMBIENT_TEMPERATURE
     */
    SENSOR_TYPE_AMBIENT_TEMPERATURE(10),
    /**
     * SENSOR_TYPE_BAROMETER
     */
    SENSOR_TYPE_BAROMETER(14),
    /**
     * SENSOR_TYPE_HUMIDITY
     */
    SENSOR_TYPE_HUMIDITY(13),
    /**
     * SENSOR_TYPE_MAGNETIC_FIELD
     */
    SENSOR_TYPE_MAGNETIC_FIELD(11),
    /**
     * SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED
     */
    SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED(12),
    /**
     * SENSOR_TYPE_SAR
     */
    SENSOR_TYPE_SAR(15),

    /**
     * SENSOR_TYPE_AMBIENT_LIGHT
     */
    SENSOR_TYPE_AMBIENT_LIGHT(22),
    /**
     * SENSOR_TYPE_COLOR_RGB
     */
    SENSOR_TYPE_COLOR_RGB(24),
    /**
     * SENSOR_TYPE_COLOR_TEMPERATURE
     */
    SENSOR_TYPE_COLOR_TEMPERATURE(23),
    /**
     * SENSOR_TYPE_COLOR_XYZ
     */
    SENSOR_TYPE_COLOR_XYZ(25),
    /**
     * SENSOR_TYPE_PROXIMITY
     */
    SENSOR_TYPE_PROXIMITY(20),
    /**
     * SENSOR_TYPE_TOF
     */
    SENSOR_TYPE_TOF(21),

    /**
     * SENSOR_TYPE_ACCELEROMETER
     */
    SENSOR_TYPE_ACCELEROMETER(30),
    /**
     * SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED
     */
    SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED(31),
    /**
     * SENSOR_TYPE_DROP_DETECTION
     */
    SENSOR_TYPE_DROP_DETECTION(37),
    /**
     * SENSOR_TYPE_GRAVITY
     */
    SENSOR_TYPE_GRAVITY(33),
    /**
     * SENSOR_TYPE_GYROSCOPE
     */
    SENSOR_TYPE_GYROSCOPE(34),
    /**
     * SENSOR_TYPE_LINEAR_ACCELERATION
     */
    SENSOR_TYPE_LINEAR_ACCELERATION(32),
    /**
     * SENSOR_TYPE_PEDOMETER
     */
    SENSOR_TYPE_PEDOMETER(39),
    /**
     * SENSOR_TYPE_PEDOMETER_DETECTION
     */
    SENSOR_TYPE_PEDOMETER_DETECTION(38),
    /**
     * SENSOR_TYPE_SIGNIFICANT_MOTION
     */
    SENSOR_TYPE_SIGNIFICANT_MOTION(36),

    /**
     * SENSOR_TYPE_6DOF
     */
    SENSOR_TYPE_6DOF(40),
    /**
     * SENSOR_TYPE_DEVICE_ORIENTATION
     */
    SENSOR_TYPE_DEVICE_ORIENTATION(42),
    /**
     * SENSOR_TYPE_GAME_ROTATION_VECTOR
     */
    SENSOR_TYPE_GAME_ROTATION_VECTOR(45),
    /**
     * SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR
     */
    SENSOR_TYPE_GEOMAGNETIC_ROTATION_VECTOR(46),
    /**
     * SENSOR_TYPE_ORIENTATION
     */
    SENSOR_TYPE_ORIENTATION(43),
    /**
     * SENSOR_TYPE_ROTATION_VECTOR
     */
    SENSOR_TYPE_ROTATION_VECTOR(44),
    /**
     * SENSOR_TYPE_SCREEN_ROTATION
     */
    SENSOR_TYPE_SCREEN_ROTATION(41),

    /**
     * SENSOR_TYPE_GRIP_DETECTOR
     */
    SENSOR_TYPE_GRIP_DETECTOR(50),
    /**
     * SENSOR_TYPE_HALL
     */
    SENSOR_TYPE_HALL(51),
    /**
     * SENSOR_TYPE_MAGNET_BRACKET
     */
    SENSOR_TYPE_MAGNET_BRACKET(52),
    /**
     * SENSOR_TYPE_PRESSURE_DETECTOR
     */
    SENSOR_TYPE_PRESSURE_DETECTOR(53);

    private int value;

    SensorType(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
